home *** CD-ROM | disk | FTP | other *** search
/ The Amiga Classic Collection / The Amiga Classic Collection - Disc 1.iso / Education / ED98-Begin1.3.DMS / ED98-Begin1.3.adf / WB1_3.TXT < prev    next >
Text File  |  1997-03-11  |  19KB  |  499 lines

  1.  
  2.           A Guide to Workbench 1.3 on the A500/A1500/A200.
  3.           ------------------------------------------------
  4.                     By PJ Hutchison © 12/1/96 v1.0
  5.                      This file is Freeware and
  6.                      distributed unmodified.
  7.                     
  8.  Contents
  9.  --------                  
  10.                             
  11.             1. The Menus
  12.               
  13.             2. The Mouse
  14.               
  15.             3. WB Programs
  16.             
  17.             4. AmigaDOS
  18.               
  19.             5. Common Problems
  20.               
  21. 1. The Menus
  22. ------------
  23.  
  24. 1.1 Workbench menu
  25.  
  26. 1.1.1 Open
  27.  
  28.      This is used on a selected icon. Instead of double clicking on
  29. an icon to show contents of a disk or drawer or run a program you
  30. can select an icon with the pointer and Select Open to display or
  31. run it.
  32.  
  33. 1.1.2 Close
  34.  
  35.      Instead of clicking on the Close Gadget at the top left of a
  36. disk or drawer window just select the window (borders blue) and 
  37. select Close.
  38.  
  39. 1.1.3 Duplicate
  40.  
  41.      This open allows you to copy files and disks. To copy a file 
  42. select the icon and then select Duplicate. Another icon will appear
  43. saying Copy_of_file or whatever, you can then move that file elsewhere
  44. or Rename it.
  45.  
  46. 1.1.4 Rename
  47.  
  48.      This option allows you to change the name of a disk, a drawer or
  49. a file. Select the disk, drawer or file icon to rename, select rename,
  50. and then type in the new name in the given requester.
  51.  
  52. 1.1.5 Info
  53.  
  54.      This option displays details of a given disk, drawer or file.
  55. Workbench has 5 types of workbench icons: Disk, Drawer, Trashcan,
  56. Project and Tool. A Trashcan is a special drawer for use with the
  57. 'Empty Trash' feature to delete files. A Project is a data file and
  58. a Tool is a Program. Info will display the type, size, stack size,
  59. default file, comment and protection flags of a file.
  60.  
  61. 1.1.6 Discard
  62.  
  63.      This is a delete function, to delete a file you would normally
  64. drag and drop the file into the Trashcan drawer to empty later.
  65. This option allows you to delete a file straight away. A requester
  66. may appear to confirm deletion.
  67.  
  68. 1.2 Disk Menu
  69.  
  70. 1.2.1 Empty Trash
  71.  
  72.      This option deletes all the files in a selected Trashcan drawer
  73. of a disk. This feature is useful because you may want to delete a
  74. file but you could change your mind and decide to keep it, all you
  75. have to do is to drag the file out of the Trashcan back to its
  76. original drawer or disk.
  77.  
  78. 1.2.2 Initialise
  79.  
  80.      This option formats a disk for use by the Amiga. It splits
  81. the disk into the right number of tracks/sectors and creates an
  82. empty root directory. It can also automatically create a Trashcan
  83. drawer. To use, select the disk to format and select Initialise.
  84.  
  85. 1.3 Special Menu
  86.  
  87. 1.3.1 Cleanup
  88.  
  89.      This option rearrages icons on a drawer or disk into a less
  90. cluttered state. To use, open the window to rearrange and select
  91. Cleanup. To keep the icons in the new positions, select all the
  92. icons and select 'Snapshot'.
  93.  
  94. 1.3.2 Last Error
  95.  
  96.      This will display the last message that appeared in the menu
  97. bar at the top of the screen.
  98.  
  99. 1.3.3 Redraw
  100.  
  101.      If the screen or window has been corrupted by another program
  102. and not all the icons or windows have been drawn then this option
  103. will do it for you.
  104.  
  105. 1.3.4 Snapshot
  106.  
  107.      This option allows you to save the position of an icon on a
  108. disk or a drawer. To use, select the icon, drag the icon to its
  109. new location and Snapshot it.
  110.  
  111. 1.3.5 Version
  112.  
  113.      This will display the version of Workbench and Kickstart 
  114. you are using. Commodore uses release numbers. For 1.3 it is 
  115. release 34.
  116.  
  117. 2. The Mouse
  118. ------------
  119.  
  120.      On the Amiga mouse there are two buttons. The Left Mouse Button
  121. (LMB) and the Right Mouse Button (RMB). 
  122.  
  123. 2.1 Using the Right Mouse Button
  124.  
  125.      To use the menus, press down the RMB and move the pointer to the
  126. title bar at the top of the screen. Move the pointer over one of the
  127. menu names and some menu items will appear. Now, still with the RMB
  128. pressed, move the pointer down to the selected menu item and release
  129. the RMB to select that item.
  130.  
  131. 2.2 Using the Left Mouse Button
  132.  
  133.      This button is mainly used to select and move icons around and
  134. click on gadgets (or buttons).
  135.  
  136. 2.2.1 Clicking
  137.  
  138.     To select an icon move the pointer over the desired icon and then
  139. click the LMB once. The icon will change to a reverse or an alternative
  140. image to indicate it has been selected.
  141.  
  142.      When using gadgets such as those on windows (there are four gadgets
  143. on a window: Close, Window-to-Front, Window-to-Back and Resize) move
  144. the pointer over the desired gadget and click once to use that gadget.
  145. The gadget will change briefly and also change the window.
  146.  
  147. 2.2.2 Double-Clicking
  148.  
  149.      This is sometimes a tricky technique to use and requires a steady
  150. hand. This method is used  to open disks, drawers and files or run
  151. programs. To do this, move the pointer over the desired icon and in
  152. quick succession (without moving the pointer) click on the LMB twice.
  153. This should open the icon.
  154.  
  155. 2.2.3 Dragging
  156.  
  157.     This technique allows you to move objects such as icons around the
  158. screen or resizing windows. Select an icon with a single click, now keep
  159. the LMB down and move the pointer, the icon will now be dragged with the
  160. pointer. If you let go of the pointer the icon will be dropped into its 
  161. new position. 
  162.  
  163. 2.2.4 Multiple selection
  164.  
  165.     You can select more than one icon at a time. To do this, click on
  166. the first icon, press the SHIFT key down (either one) and then click
  167. on the second, third, fourth icons etc to select multiple icons
  168.      You can also select a whole group of icons by pressing the LMB
  169. at the top left of the icons and while keeping the LMB down moving the
  170. power towards the bottom right. A expanding box will apear and the icons
  171. in it will be selected.
  172.  
  173. 3 WB Programs
  174. -------------
  175.  
  176.      Here I will give a brief explination of the programs provided with
  177. Workbench 1.3.
  178.  
  179. 3.1 Workbench Disk
  180. ------------------
  181.  
  182. 3.1.1 Utilities Drawer
  183.  
  184.      Calculator     - Program to work out arithmetic calculations
  185.      Clock          - Displays a analogic or digital clock showing
  186.                       the present time and/or date
  187.      ClockPtr       - Turns the pointer from an arrow to a clock!
  188.      Cmd            - Redirects output to the printer to a file
  189.      GraphicDump    - Prints out graphics and pictures
  190.      InstallPrinter - Installs Printer driver in devs/printers
  191.      More           - Program to display text files
  192.      Notepad        - A simple text editor
  193.      Printfiles     - Prints text files
  194.      Say            - Speaks any text you type in
  195.      
  196. 3.1.2 System Drawer
  197.  
  198.      CLI            - Opens a Command Line Interface console 
  199.      Diskcopy       - Program to copy disks (used by Duplicate)
  200.      Format         - Formats a disk (used by Initialise)
  201.      Fastmemfirst   - Tells Amiga to load programs into Fast memory
  202.      SetMap         - Selects the keyboard map from devs/keymaps
  203.      InitPrinter    - Initalises printer (same as switching it off and on).
  204.      NoFastMem      - Disables all fast memory
  205.      Mergemem       - Adds other memory to be used by the Amiga
  206.      Fixfonts       - Updates Fonts files if changes have been made to
  207.                       any files in Fonts drawer
  208.  
  209. 3.1.3 Prefs Drawer
  210.  
  211.      Preferences    - Changes the settings used by the Amiga such as
  212.                       the pointer, printer, serial port etc.
  213.      CopyPrefs      - Makes a copy of prefs to be copied to another
  214.                       disk
  215.      Pointer        - Displays the pointer prefs screen.
  216.      Printer        - Displays the printer prefs screen.
  217.      Serial         - Displays the serial prefs screen.
  218.   
  219. 3.1.4 Hidden Drawers
  220.  
  221.      C        - Stores AmigaDOS commands
  222.      Devs     - Stores keymap files, printer drivers and other
  223.                       device drivers and the preferences file.
  224.      Fonts    - Stores bitmap font files. A .font file for
  225.                       each typeface and a file for each font size.
  226.      L        - Stores device handlers
  227.      Libs     - Stores Amiga operating system libraries
  228.      S        - Stores batch or script files
  229.      T        - Temporary files drawer
  230.      
  231. 3.1.5 Other Drawers
  232.  
  233.      Expansion - Stores special device drivers for expansion peripherals
  234.      Empty     - Duplicate this drawer to create new drawers.
  235.      Trashcan  - Stores files ready to be deleted.
  236.      
  237. 3.2 Extras Disk
  238. ---------------
  239.  
  240. AmigaBASIC     - BASIC Programming Lanaguage interpretor
  241.  
  242. 3.2.1 Tools Drawer
  243.  
  244.      MEmacs    - Text editor
  245.      Fed       - Font editor
  246.      Freemap   - Memory usage display
  247.      PrefMon   - Performance monitor
  248.      IconEd    - Icon editor
  249.      Palette   - Changes Workbench colour scheme
  250.      KeyToy2000 - Displays keyboard characters
  251.      IconMerge - Creates dual-image icons  
  252.      
  253. 3.2.2 PCUtil
  254.  
  255.      PCCopy    - Allows Amiga to copy files from PC disks
  256.      PCFormat  - Allows Amiga to format PC diskettes
  257.      ToPCCopy  - Allows Amiga to copy files to PC disks
  258.      Read Me   - Text file on using PCUtils
  259.      
  260. 3.2.3 Other Drawers
  261.  
  262.      BasicDemos - Basic program listings
  263.      FD1.3     - Contains OS Function Descriptions for AmigaBASIC
  264.      Fonts     - More fonts 
  265.      Devs      - Contains all keymap files and printer drivers
  266.      
  267. 4 AmigaDOS Commands
  268. -------------------
  269.  
  270.      Amiga DOS commands can only be used on a CLI or Shell window
  271. where commands can be typed in to perform various functions. All
  272. these commands have to be run from disk.
  273.  
  274. 4.1 Command format
  275.  
  276. To display the information required by a command type a '?' after it.
  277.      Note, after each arguement there is a slash and a character.
  278. This specifies the kind of arguement required such as an option
  279. or a name or a value.
  280.  
  281. /A   - Argument must be supplied
  282. /F   - Must be final or last arguement
  283. /K   - Keyword must be entered with a parameter
  284. /M   - Multiple arguements may be supplied
  285. /N   - A Number is required
  286. /S   - Switch or option. Supply this function to activate it.
  287.  
  288. 4.2 Error messages
  289.  
  290.      If you enter a command and comes back with an error message, typing
  291. WHY will display more information about it. Use the FAULT command to
  292. display the error message that applies to a error code.
  293.  
  294. Typical error messages are:
  295.  
  296. Code Description                    Solution
  297.  
  298. 103     Insufficient free store            Free up some memory by quiting other
  299.                                 programs.
  300. 121  File is not an object module        Try setting 'e' or 's' protection flag.
  301. 202  Object in use                    Exit program, unassign assign or
  302.                                 close directory windows.
  303. 203  Object already exists            Cannot move the program as
  304.                                 it exists elsewhere. Delete the
  305.                                 original first.
  306. 212  Disk not validated                Wait until disk is validated first.
  307. 214  Disk write-protected            Ensure write tab is closed.
  308. 216  Directory not empty                Must delete its contents first.
  309.                                 Use DELETE ALL.
  310. 221  Disk full                        Delete some files or use a new disk.
  311. 215  Rename across devices            Use COPY  then RENAME to rename files.
  312. 222  File is protected from deletion    Use PROTECT to set 'd' flag.
  313. 224  File is read protected            Use PROTECT to set 'r' flag.
  314. 225  Not a valid DOS disk            Disk is unformatted or a protected
  315.                                 game disk.
  316. 232  No more entries in directory        Directory is full, delete files or
  317.                                  move files into new sub-dirs.
  318.  
  319. 4.3 Volume/Drawer/File names
  320.  
  321.      Names can be upto 31 characters long and may contain the following
  322. characters:
  323.      Letters A-Z (upper or lower)
  324.      Digits 0-9
  325.      Other characters EXCEPT the colon ':' or slash '/'.
  326.      Spaces can be used but can be confusing use a dash '-' or 
  327.      underline '_' instead.
  328.      
  329. 4.4 Volumes,Drawers and Assigns
  330.  
  331.      A volume is the name given to a disk and may be referred to 
  332.      by its name followed by a colin ':' e.g. DIR DataDisk:
  333.      
  334.      A drawer or directory is used to organise files together
  335.      and they are usually used in conjunction which a slash to
  336.      seperate the names
  337.      e.g. DIR DF0:Devs/Printers
  338.      
  339.      An assign is a special shortcut name to a volume or a drawer
  340.      and is created using the ASSIGN command.
  341.      e.g. 
  342.           TYPE S:Startup-sequence     is the same as
  343.           TYPE Workbench1.3:S/Startup-Sequence
  344.  
  345. 4.5 Devices
  346.  
  347.      A device is a special name given to a particular peripheral
  348.      or an AmigaDOS feature. Typical devices are:
  349.      
  350.      DF0:      - Internal floppy drive
  351.      DF1:      - External floppy drive
  352.      DH0:      - Hard disk (A590)
  353.      RAM:      - RAM disk
  354.      RAD:      - Recoverable RAM disk (from a reboot)
  355.      CON:      - Console device (CLI)
  356.      NEWCON:   - New Console device (Shell)
  357.      SER:      - Serial port
  358.      PAR:      - Parallel port
  359.      PRT:      - Printer port
  360.      AUX:      - Auxillary device
  361.      PIPE:     - Pipe device
  362.      CD0:      - CD-ROM (A570)
  363.      
  364. 4.6 The Commands
  365.  
  366. Addbuffers     - Add memory to floppy disk buffers to improve speed
  367. Ask            - Asks a question in a script (reply y/n). Use IF WARN
  368.                  to test for a yes.
  369. Assign         - Assign names to directory paths.
  370. Avail          - Memory availablility
  371. Binddrivers    - Load device drivers
  372. Break          - Stop a program (see Status)
  373. CD             - Change directory
  374. ChangeTaskPri  - Changes program's execution priority
  375. Copy           - Copy files
  376. Date           - Display/change date or time
  377. Delete         - Delete files
  378. Dir            - List contents of a directory
  379. Diskchange     - Tell Amigados that a disk has been swapped in a
  380.                  non-autosensing disk drive
  381. Diskdoctor     - Recover files from a disk
  382. Echo           - Display text in a script
  383. Ed             - Edit text files (screen editor)
  384. Edit           - Edit text files (line editor)
  385. Else           - Used with IF, if not true do these commands
  386. Endcli         - Close CLI console window
  387. Endif          - End a IF..ELSE..ENDIF block
  388. Endskip        - Stops a SKIP branch (for debugging)
  389. Eval           - Evaluate a simple arithmetic expression
  390. Execute        - Execute a script or batch file
  391. Failat         - Change failure limit for scripts
  392.                  (0 - Ok, 5 - Warn, 10 - Error, 20 - Fail)
  393. Fault          - Display error message from a code
  394. FF             - Enable Fast fonts
  395. Filenote       - Attach a comment to a file (see LIST)
  396. Getenv         - Return contents of an environment variable
  397. Iconx          - Enables a script to be run from Workbench. The script
  398.                  must have a Project .info file and the Default Tool
  399.                  set to c:IconX to run it.
  400. If             - If condition is true execute following commands until
  401.                  an ELSE or ENDIF occurs.
  402. Info           - Displays information about disks
  403. Install        - Saves a bootblock to a disk. If you have only one drive
  404.                  type INSTALL ? and swap disks and then type DF0: and
  405.                  press RETURN to save bootblock.
  406. Join           - Join two or files together.
  407. Lab            - State a Label to Skip to in a script
  408. List           - List file details in a directory
  409. Loadwb         - Display workbench screen 
  410. Lock           - Lock a device from writing
  411. Makedir        - Create a new directory.
  412. Mount          - Loads and mount a device
  413. Newcli         - Open a new CLI console (CON) window
  414. NewShell       - Open a new Shell console (NEWCON) window
  415. Sort           - Sort contents of a file
  416. Stack          - Change/display amount of stack space
  417. Status         - Display status of running programs
  418. Type           - Display contents of text file on screen
  419. Path           - Set or change the program search path
  420. Prompt         - Change the prompt text
  421. Protect        - Change the 'rwedsp' flags of a file. (r=read,w=write,
  422.                  e=execute,d=delete,s=script,p=pure)
  423. Quit           - Quit a script 
  424. Relabel        - Change name of a disk
  425. RemRAD         - Remove RAD device from memory
  426. Resident       - Stores AmigaDOS command in memory (quicker then reloading
  427.                  from disk each time it is executed). To ensure a 
  428.                  command can be made resident check the pure flag
  429.                  (see List).
  430. Run            - Execute a program in the background (multi-task)
  431. Search         - Search for a string in a file or a file on a disk
  432. Setclock       - Load or set the date and time from battery-backed clock
  433. Setdate        - Set date of a file (see List)
  434. Setenv         - Change the contents of a environment variable
  435. Setpatch       - Patch Operating System functions and remove bugs
  436. Skip           - Jump to a label in a script (see Lab)
  437. Version        - Display workbench or library version information
  438. Wait           - Wait for a specified period of time
  439. Which          - Find where a file is in command path (see Path)
  440. Why            - Display reason why a previous command failed
  441.  
  442. 5. Common Problems
  443.  
  444. 5.1 How do I retreive a file I accidently deleted?
  445.  
  446.      You need to use a Disk Recovery program such as DiskDoctor, 
  447. FixDisk or Disksalv to scan and recover the file. You cannot
  448. retrieve a file that has been deleted and the disk written to
  449. later on as it will most likely been overwritten!
  450.  
  451. 5.2 How can I view hidden file from Workbench?
  452.  
  453.      There are a number of methods although the best is to use a
  454. file manager program which can see all files and you can copy,
  455. move, delete and view files very easily. Other than that you need
  456. to resort to using the Shell.
  457.  
  458. 5.3 How can I create a bootable disk?
  459.  
  460.      The simplest method is to Duplicate your Workbench disk, delete
  461. the Utilities and the System files (if not required), copy the 
  462. program to the disk and then edit the s:startup-sequence to run
  463. your program. This method also guarentees that all the necessary
  464. files are also on the disk.
  465.      The minimum required to make a disk bootable is to use the Install
  466. command to save a bootblock to the disk. Create a directory called S
  467. and create a startup-sequence file with the name of the program and
  468. save that in the S directory and copy your program to the disk.
  469. To use install with one disk drive, type INSTALL ? then swap disks
  470. and type DF0: and press RETURN.
  471.  
  472. 5.4 How can I speed up disk access when using the shell?
  473.  
  474.      The shell is a very powerful feature but can be limiting and
  475. annoying when working from floppy. You can make common commands
  476. run from memory by using the Resident command which allows the Amiga
  477. to use commands from memory instead of loading them from disk.
  478. For example, Resident C:Dir pure will make the DIR command resident.
  479. You can make this a permanent feature by modying the S:Shell-Startup
  480. file and insert these resident commands.
  481.      Also, it is a good idea to do all work on the RAM: disk if you
  482. have plenty of memory instead of saving to/from disk.
  483.  
  484. 5.5 Why do some icons, when double-clicked, don't load up?
  485.  
  486.      There are two reasons for this. First, if a program is deleted
  487. but its .info file is left behind then the program or file may seen
  488. to still exist. To rectify this, the program should be re-copied back.
  489.      Second, a lot of Project icons have A Default Tool set. This 
  490. default tool loads up the program and the data file. There are many
  491. tools, particularly text and graphics viewers. If you try to run
  492. a file with a Default Tool that you don't have then the following
  493. message will appear: 'Unable to open the tool <file>'
  494. If this happens, select the icon and choose Info from the Workbench
  495. menu and change the Default tool to the one you do have. For example,
  496. if its a text file, change it to 'More' (Workbench's Text Viewer).
  497.  
  498.  
  499.